package inno.specificSelection;

import inno.treeRepro.Chromosome;

import java.util.ArrayList;
import java.util.Random;

public class DummySelection implements Selection{
	public ArrayList<Chromosome> doSelection(ArrayList<Chromosome> population){
		ArrayList<Chromosome> ans = new ArrayList<Chromosome>();
		
		Random rand = new Random();
		
		ans.add(population.get(rand.nextInt(population.size())));
		ans.add(population.get(rand.nextInt(population.size())));
		return ans;
	}

}
